package com.wang.blog.service;

import com.wang.blog.model.SysUser;

import java.util.List;


public interface UserService {

    List<SysUser> findAll();

    SysUser getUserByAccount(String account);

    SysUser getUserById(Long id);

    Long saveUser(SysUser user);

    Long updateUser(SysUser user);

    void deleteUserById(Long id);
}
